<template>
  <div class="hello">
    <div>{{mes}}</div>
  </div>
</template>

<script>

export default {
  name: 'HelloWorld',
  props:{
    "mes":{
      type:String
    },

  },
  data () {
    return {

    }
  },
  methods:{
    getMes(){
       axios({
         method:'POST',
         url:'/root/link',
         data:{
           mes:this.mes
         }
       }).then(function(response){
         console.log(response)
       })
    }

  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
